package com.xwdeshj.repository;

import com.xwdeshj.entity.XwBanner;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2018/12/20.
 * 轮播图管理
 */
public interface XwBannerRepository extends JpaRepository<XwBanner,Integer> {

    //根据 banner_encryptId 轮播图加密id，查询该条记录
    public XwBanner findByBannerEncryptid(String banner_encryptId);

    //根据banner_encryptId 轮播图加密id，删除该条记录
    public void deleteByBannerEncryptid(String banner_encryptId);

}
